[INFO] cloning repository https://github.com/CouleeApps/dnet-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CouleeApps/dnet-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCouleeApps%2Fdnet-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCouleeApps%2Fdnet-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] dc298844217075d066fb74fae4e5b1564f176058
[INFO] checking CouleeApps/dnet-rs against master#e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682 for beta-170-4
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCouleeApps%2Fdnet-rs" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/CouleeApps/dnet-rs on toolchain e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/CouleeApps/dnet-rs
[INFO] finished tweaking git repo https://github.com/CouleeApps/dnet-rs
[INFO] tweaked toml for git repo https://github.com/CouleeApps/dnet-rs written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/CouleeApps/dnet-rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4e51f183fb1f45d85fa3b7d5b1acddc4a598236ccdcaaa311cade2b9ee8614e6
[INFO] running `Command { std: "docker" "start" "-a" "4e51f183fb1f45d85fa3b7d5b1acddc4a598236ccdcaaa311cade2b9ee8614e6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4e51f183fb1f45d85fa3b7d5b1acddc4a598236ccdcaaa311cade2b9ee8614e6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4e51f183fb1f45d85fa3b7d5b1acddc4a598236ccdcaaa311cade2b9ee8614e6", kill_on_drop: false }`
[INFO] [stdout] 4e51f183fb1f45d85fa3b7d5b1acddc4a598236ccdcaaa311cade2b9ee8614e6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 02c0e4d279c0f5a68bc86acbc21e6c72bab088695132fde6ff54d297cba40bd0
[INFO] running `Command { std: "docker" "start" "-a" "02c0e4d279c0f5a68bc86acbc21e6c72bab088695132fde6ff54d297cba40bd0", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.99
[INFO] [stderr]    Compiling proc-macro2 v1.0.28
[INFO] [stderr]    Compiling syn v1.0.74
[INFO] [stderr]    Compiling tokio v1.10.0
[INFO] [stderr]    Compiling anyhow v1.0.43
[INFO] [stderr]     Checking once_cell v1.8.0
[INFO] [stderr]     Checking bytes v1.0.1
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]     Checking getrandom v0.2.3
[INFO] [stderr]     Checking parking_lot_core v0.8.3
[INFO] [stderr]     Checking signal-hook-registry v1.4.0
[INFO] [stderr]     Checking mio v0.7.13
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking parking_lot v0.11.1
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.4
[INFO] [stderr]    Compiling tokio-macros v1.3.0
[INFO] [stderr]     Checking dnet-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0425]: cannot find value `f` in this scope
[INFO] [stdout]    --> src/bitstream.rs:360:18
[INFO] [stdout]     |
[INFO] [stdout] 360 |             i = (f * (max_int as f32)).round();
[INFO] [stdout]     |                  ^ help: a local variable with a similar name exists: `i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::bitstream::BitStream`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::bitstream::BitStream;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::net::UdpSocket`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use tokio::net::UdpSocket;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::huffman`
[INFO] [stdout]  --> src/bitstream.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::huffman;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp::max`
[INFO] [stdout]  --> src/bitstream.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::cmp::max;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/bitstream.rs:115:17
[INFO] [stdout]     |
[INFO] [stdout] 115 |         value = (value & (0xFF >> (8 - bits)));
[INFO] [stdout]     |                 ^                            ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 115 -         value = (value & (0xFF >> (8 - bits)));
[INFO] [stdout] 115 +         value = value & (0xFF >> (8 - bits));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]    --> src/bitstream.rs:142:17
[INFO] [stdout]     |
[INFO] [stdout] 142 |                 (value >> remain)
[INFO] [stdout]     |                 ^               ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 142 -                 (value >> remain)
[INFO] [stdout] 142 +                 value >> remain
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/bitstream.rs:414:19
[INFO] [stdout]     |
[INFO] [stdout] 414 |         let div = (1.0 / mag);
[INFO] [stdout]     |                   ^         ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 414 -         let div = (1.0 / mag);
[INFO] [stdout] 414 +         let div = 1.0 / mag;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Error`
[INFO] [stdout]  --> src/connection.rs:5:22
[INFO] [stdout]   |
[INFO] [stdout] 5 | use anyhow::{Result, Error};
[INFO] [stdout]   |                      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::connection::GameConnection`
[INFO] [stdout]  --> src/dnet.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::connection::GameConnection;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/dnet.rs:73:20
[INFO] [stdout]    |
[INFO] [stdout] 73 |         seq_num |= (self.last_seq_received & 0xFFFFFE00);
[INFO] [stdout]    |                    ^                                   ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 73 -         seq_num |= (self.last_seq_received & 0xFFFFFE00);
[INFO] [stdout] 73 +         seq_num |= self.last_seq_received & 0xFFFFFE00;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/dnet.rs:164:30
[INFO] [stdout]     |
[INFO] [stdout] 164 |         let ack_byte_count = ((self.last_seq_received - self.last_recv_ack_ack + 7) >> 3);
[INFO] [stdout]     |                              ^                                                          ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 164 -         let ack_byte_count = ((self.last_seq_received - self.last_recv_ack_ack + 7) >> 3);
[INFO] [stdout] 164 +         let ack_byte_count = (self.last_seq_received - self.last_recv_ack_ack + 7) >> 3;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `f` in this scope
[INFO] [stdout]    --> src/bitstream.rs:360:18
[INFO] [stdout]     |
[INFO] [stdout] 360 |             i = (f * (max_int as f32)).round();
[INFO] [stdout]     |                  ^ help: a local variable with a similar name exists: `i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::bitstream::BitStream`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::bitstream::BitStream;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::net::UdpSocket`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use tokio::net::UdpSocket;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::huffman`
[INFO] [stdout]  --> src/bitstream.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::huffman;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp::max`
[INFO] [stdout]  --> src/bitstream.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::cmp::max;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/bitstream.rs:115:17
[INFO] [stdout]     |
[INFO] [stdout] 115 |         value = (value & (0xFF >> (8 - bits)));
[INFO] [stdout]     |                 ^                            ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 115 -         value = (value & (0xFF >> (8 - bits)));
[INFO] [stdout] 115 +         value = value & (0xFF >> (8 - bits));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]    --> src/bitstream.rs:142:17
[INFO] [stdout]     |
[INFO] [stdout] 142 |                 (value >> remain)
[INFO] [stdout]     |                 ^               ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 142 -                 (value >> remain)
[INFO] [stdout] 142 +                 value >> remain
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/bitstream.rs:414:19
[INFO] [stdout]     |
[INFO] [stdout] 414 |         let div = (1.0 / mag);
[INFO] [stdout]     |                   ^         ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 414 -         let div = (1.0 / mag);
[INFO] [stdout] 414 +         let div = 1.0 / mag;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Error`
[INFO] [stdout]  --> src/connection.rs:5:22
[INFO] [stdout]   |
[INFO] [stdout] 5 | use anyhow::{Result, Error};
[INFO] [stdout]   |                      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::connection::GameConnection`
[INFO] [stdout]  --> src/dnet.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::connection::GameConnection;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/dnet.rs:73:20
[INFO] [stdout]    |
[INFO] [stdout] 73 |         seq_num |= (self.last_seq_received & 0xFFFFFE00);
[INFO] [stdout]    |                    ^                                   ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 73 -         seq_num |= (self.last_seq_received & 0xFFFFFE00);
[INFO] [stdout] 73 +         seq_num |= self.last_seq_received & 0xFFFFFE00;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/dnet.rs:164:30
[INFO] [stdout]     |
[INFO] [stdout] 164 |         let ack_byte_count = ((self.last_seq_received - self.last_recv_ack_ack + 7) >> 3);
[INFO] [stdout]     |                              ^                                                          ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 164 -         let ack_byte_count = ((self.last_seq_received - self.last_recv_ack_ack + 7) >> 3);
[INFO] [stdout] 164 +         let ack_byte_count = (self.last_seq_received - self.last_recv_ack_ack + 7) >> 3;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/connection.rs:61:48
[INFO] [stdout]    |
[INFO] [stdout] 61 |     pub async fn process_raw_packet(&mut self, mut stream: BitStream) -> Result<()> {
[INFO] [stdout]    |                                                ----^^^^^^
[INFO] [stdout]    |                                                |
[INFO] [stdout]    |                                                help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/connection.rs:61:48
[INFO] [stdout]    |
[INFO] [stdout] 61 |     pub async fn process_raw_packet(&mut self, mut stream: BitStream) -> Result<()> {
[INFO] [stdout]    |                                                ----^^^^^^
[INFO] [stdout]    |                                                |
[INFO] [stdout]    |                                                help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `read_float` found for mutable reference `&mut BitStream` in the current scope
[INFO] [stdout]    --> src/bitstream.rs:233:21
[INFO] [stdout]     |
[INFO] [stdout] 233 |         return self.read_float(bit_count) * 2f32 - 1f32;
[INFO] [stdout]     |                     ^^^^^^^^^^ help: there is a method with a similar name: `read_flag`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `read_signed_float` found for mutable reference `&mut BitStream` in the current scope
[INFO] [stdout]    --> src/bitstream.rs:246:24
[INFO] [stdout]     |
[INFO] [stdout] 246 |         let phi = self.read_signed_float(bit_count + 1) * PI;
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^ help: there is a method with a similar name: `read_signed_float_neg_one_to_one`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `read_float` found for mutable reference `&mut BitStream` in the current scope
[INFO] [stdout]    --> src/bitstream.rs:233:21
[INFO] [stdout]     |
[INFO] [stdout] 233 |         return self.read_float(bit_count) * 2f32 - 1f32;
[INFO] [stdout]     |                     ^^^^^^^^^^ help: there is a method with a similar name: `read_flag`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `read_signed_float` found for mutable reference `&mut BitStream` in the current scope
[INFO] [stdout]    --> src/bitstream.rs:247:26
[INFO] [stdout]     |
[INFO] [stdout] 247 |         let theta = self.read_signed_float(bit_count) * (PI / 2.0);
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^ help: there is a method with a similar name: `read_signed_float_neg_one_to_one`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `read_signed_float` found for mutable reference `&mut BitStream` in the current scope
[INFO] [stdout]    --> src/bitstream.rs:246:24
[INFO] [stdout]     |
[INFO] [stdout] 246 |         let phi = self.read_signed_float(bit_count + 1) * PI;
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^ help: there is a method with a similar name: `read_signed_float_neg_one_to_one`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `read_float` found for mutable reference `&mut BitStream` in the current scope
[INFO] [stdout]    --> src/bitstream.rs:263:24
[INFO] [stdout]     |
[INFO] [stdout] 263 |             mag = self.read_float(magnitude_bits) * max_magnitude;
[INFO] [stdout]     |                        ^^^^^^^^^^ help: there is a method with a similar name: `read_flag`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `read_signed_float` found for mutable reference `&mut BitStream` in the current scope
[INFO] [stdout]    --> src/bitstream.rs:247:26
[INFO] [stdout]     |
[INFO] [stdout] 247 |         let theta = self.read_signed_float(bit_count) * (PI / 2.0);
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^ help: there is a method with a similar name: `read_signed_float_neg_one_to_one`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `[f32]` cannot be indexed by `u32`
[INFO] [stdout]    --> src/bitstream.rs:285:18
[INFO] [stdout]     |
[INFO] [stdout] 285 |             vals[i] = self.read_signed_float(bit_count) * FRAC_1_SQRT_2;
[INFO] [stdout]     |                  ^ slice indices are of type `usize` or ranges of `usize`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `SliceIndex<[f32]>` is not implemented for `u32`
[INFO] [stdout]     = help: the trait `SliceIndex<[T]>` is implemented for `usize`
[INFO] [stdout]     = note: required for `[f32]` to implement `Index<u32>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `read_float` found for mutable reference `&mut BitStream` in the current scope
[INFO] [stdout]    --> src/bitstream.rs:263:24
[INFO] [stdout]     |
[INFO] [stdout] 263 |             mag = self.read_float(magnitude_bits) * max_magnitude;
[INFO] [stdout]     |                        ^^^^^^^^^^ help: there is a method with a similar name: `read_flag`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `[f32]` cannot be indexed by `u32`
[INFO] [stdout]    --> src/bitstream.rs:285:18
[INFO] [stdout]     |
[INFO] [stdout] 285 |             vals[i] = self.read_signed_float(bit_count) * FRAC_1_SQRT_2;
[INFO] [stdout]     |                  ^ slice indices are of type `usize` or ranges of `usize`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `SliceIndex<[f32]>` is not implemented for `u32`
[INFO] [stdout]     = help: the trait `SliceIndex<[T]>` is implemented for `usize`
[INFO] [stdout]     = note: required for `[f32]` to implement `Index<u32>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `read_signed_float` found for mutable reference `&mut BitStream` in the current scope
[INFO] [stdout]    --> src/bitstream.rs:285:28
[INFO] [stdout]     |
[INFO] [stdout] 285 |             vals[i] = self.read_signed_float(bit_count) * FRAC_1_SQRT_2;
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^ help: there is a method with a similar name: `read_signed_float_neg_one_to_one`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `[f32]` cannot be indexed by `u32`
[INFO] [stdout]    --> src/bitstream.rs:286:25
[INFO] [stdout]     |
[INFO] [stdout] 286 |             sum += vals[i] * vals[i];
[INFO] [stdout]     |                         ^ slice indices are of type `usize` or ranges of `usize`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `SliceIndex<[f32]>` is not implemented for `u32`
[INFO] [stdout]     = help: the trait `SliceIndex<[T]>` is implemented for `usize`
[INFO] [stdout]     = note: required for `[f32]` to implement `Index<u32>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `[f32]` cannot be indexed by `u32`
[INFO] [stdout]    --> src/bitstream.rs:286:35
[INFO] [stdout]     |
[INFO] [stdout] 286 |             sum += vals[i] * vals[i];
[INFO] [stdout]     |                                   ^ slice indices are of type `usize` or ranges of `usize`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `SliceIndex<[f32]>` is not implemented for `u32`
[INFO] [stdout]     = help: the trait `SliceIndex<[T]>` is implemented for `usize`
[INFO] [stdout]     = note: required for `[f32]` to implement `Index<u32>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `[f32]` cannot be indexed by `u32`
[INFO] [stdout]    --> src/bitstream.rs:290:18
[INFO] [stdout]     |
[INFO] [stdout] 290 |             vals[idx_max] = 1.0;
[INFO] [stdout]     |                  ^^^^^^^ slice indices are of type `usize` or ranges of `usize`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `SliceIndex<[f32]>` is not implemented for `u32`
[INFO] [stdout]     = help: the trait `SliceIndex<[T]>` is implemented for `usize`
[INFO] [stdout]     = note: required for `[f32]` to implement `Index<u32>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `[f32]` cannot be indexed by `u32`
[INFO] [stdout]    --> src/bitstream.rs:292:18
[INFO] [stdout]     |
[INFO] [stdout] 292 |             vals[idx_max] = (1.0 - sum).sqrt();
[INFO] [stdout]     |                  ^^^^^^^ slice indices are of type `usize` or ranges of `usize`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `SliceIndex<[f32]>` is not implemented for `u32`
[INFO] [stdout]     = help: the trait `SliceIndex<[T]>` is implemented for `usize`
[INFO] [stdout]     = note: required for `[f32]` to implement `Index<u32>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `read_signed_float` found for mutable reference `&mut BitStream` in the current scope
[INFO] [stdout]    --> src/bitstream.rs:285:28
[INFO] [stdout]     |
[INFO] [stdout] 285 |             vals[i] = self.read_signed_float(bit_count) * FRAC_1_SQRT_2;
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^ help: there is a method with a similar name: `read_signed_float_neg_one_to_one`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `[f32]` cannot be indexed by `u32`
[INFO] [stdout]    --> src/bitstream.rs:286:25
[INFO] [stdout]     |
[INFO] [stdout] 286 |             sum += vals[i] * vals[i];
[INFO] [stdout]     |                         ^ slice indices are of type `usize` or ranges of `usize`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `SliceIndex<[f32]>` is not implemented for `u32`
[INFO] [stdout]     = help: the trait `SliceIndex<[T]>` is implemented for `usize`
[INFO] [stdout]     = note: required for `[f32]` to implement `Index<u32>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `[f32]` cannot be indexed by `u32`
[INFO] [stdout]    --> src/bitstream.rs:286:35
[INFO] [stdout]     |
[INFO] [stdout] 286 |             sum += vals[i] * vals[i];
[INFO] [stdout]     |                                   ^ slice indices are of type `usize` or ranges of `usize`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `SliceIndex<[f32]>` is not implemented for `u32`
[INFO] [stdout]     = help: the trait `SliceIndex<[T]>` is implemented for `usize`
[INFO] [stdout]     = note: required for `[f32]` to implement `Index<u32>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `[f32]` cannot be indexed by `u32`
[INFO] [stdout]    --> src/bitstream.rs:290:18
[INFO] [stdout]     |
[INFO] [stdout] 290 |             vals[idx_max] = 1.0;
[INFO] [stdout]     |                  ^^^^^^^ slice indices are of type `usize` or ranges of `usize`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `SliceIndex<[f32]>` is not implemented for `u32`
[INFO] [stdout]     = help: the trait `SliceIndex<[T]>` is implemented for `usize`
[INFO] [stdout]     = note: required for `[f32]` to implement `Index<u32>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `[f32]` cannot be indexed by `u32`
[INFO] [stdout]    --> src/bitstream.rs:292:18
[INFO] [stdout]     |
[INFO] [stdout] 292 |             vals[idx_max] = (1.0 - sum).sqrt();
[INFO] [stdout]     |                  ^^^^^^^ slice indices are of type `usize` or ranges of `usize`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `SliceIndex<[f32]>` is not implemented for `u32`
[INFO] [stdout]     = help: the trait `SliceIndex<[T]>` is implemented for `usize`
[INFO] [stdout]     = note: required for `[f32]` to implement `Index<u32>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `write_float` found for mutable reference `&mut BitStream` in the current scope
[INFO] [stdout]    --> src/bitstream.rs:370:21
[INFO] [stdout]     |
[INFO] [stdout] 370 |         return self.write_float((value + 1) / 2, bit_count) * 2f32 - 1f32;
[INFO] [stdout]     |                     ^^^^^^^^^^^ help: there is a method with a similar name: `write_flag`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: cannot add `{integer}` to `f32`
[INFO] [stdout]    --> src/bitstream.rs:370:40
[INFO] [stdout]     |
[INFO] [stdout] 370 |         return self.write_float((value + 1) / 2, bit_count) * 2f32 - 1f32;
[INFO] [stdout]     |                                        ^ no implementation for `f32 + {integer}`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `Add<{integer}>` is not implemented for `f32`
[INFO] [stdout]     = help: the following other types implement trait `Add<Rhs>`:
[INFO] [stdout]               <&'a f32 as Add<f32>>
[INFO] [stdout]               <&f32 as Add<&f32>>
[INFO] [stdout]               <f32 as Add<&f32>>
[INFO] [stdout]               <f32 as Add>
[INFO] [stdout] help: consider using a floating-point literal by writing it with `.0`
[INFO] [stdout]     |
[INFO] [stdout] 370 |         return self.write_float((value + 1.0) / 2, bit_count) * 2f32 - 1f32;
[INFO] [stdout]     |                                           ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `write_float` found for mutable reference `&mut BitStream` in the current scope
[INFO] [stdout]    --> src/bitstream.rs:370:21
[INFO] [stdout]     |
[INFO] [stdout] 370 |         return self.write_float((value + 1) / 2, bit_count) * 2f32 - 1f32;
[INFO] [stdout]     |                     ^^^^^^^^^^^ help: there is a method with a similar name: `write_flag`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: cannot add `{integer}` to `f32`
[INFO] [stdout]    --> src/bitstream.rs:370:40
[INFO] [stdout]     |
[INFO] [stdout] 370 |         return self.write_float((value + 1) / 2, bit_count) * 2f32 - 1f32;
[INFO] [stdout]     |                                        ^ no implementation for `f32 + {integer}`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `Add<{integer}>` is not implemented for `f32`
[INFO] [stdout]     = help: the following other types implement trait `Add<Rhs>`:
[INFO] [stdout]               <&'a f32 as Add<f32>>
[INFO] [stdout]               <&f32 as Add<&f32>>
[INFO] [stdout]               <f32 as Add<&f32>>
[INFO] [stdout]               <f32 as Add>
[INFO] [stdout] help: consider using a floating-point literal by writing it with `.0`
[INFO] [stdout]     |
[INFO] [stdout] 370 |         return self.write_float((value + 1.0) / 2, bit_count) * 2f32 - 1f32;
[INFO] [stdout]     |                                           ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `write_signed_float` found for mutable reference `&mut BitStream` in the current scope
[INFO] [stdout]    --> src/bitstream.rs:390:14
[INFO] [stdout]     |
[INFO] [stdout] 390 |         self.write_signed_float(phi, bit_count + 1);
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^ help: there is a method with a similar name: `write_int`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `write_signed_float` found for mutable reference `&mut BitStream` in the current scope
[INFO] [stdout]    --> src/bitstream.rs:391:14
[INFO] [stdout]     |
[INFO] [stdout] 391 |         self.write_signed_float(theta, bit_count);
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^ help: there is a method with a similar name: `write_int`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `write_signed_float` found for mutable reference `&mut BitStream` in the current scope
[INFO] [stdout]    --> src/bitstream.rs:390:14
[INFO] [stdout]     |
[INFO] [stdout] 390 |         self.write_signed_float(phi, bit_count + 1);
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^ help: there is a method with a similar name: `write_int`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `write_float` found for mutable reference `&mut BitStream` in the current scope
[INFO] [stdout]    --> src/bitstream.rs:409:18
[INFO] [stdout]     |
[INFO] [stdout] 409 |             self.write_float(mag / max_magnitude, magnitude_bits);
[INFO] [stdout]     |                  ^^^^^^^^^^^ help: there is a method with a similar name: `write_flag`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `write_signed_float` found for mutable reference `&mut BitStream` in the current scope
[INFO] [stdout]    --> src/bitstream.rs:391:14
[INFO] [stdout]     |
[INFO] [stdout] 391 |         self.write_signed_float(theta, bit_count);
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^ help: there is a method with a similar name: `write_int`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `write_float` found for mutable reference `&mut BitStream` in the current scope
[INFO] [stdout]    --> src/bitstream.rs:409:18
[INFO] [stdout]     |
[INFO] [stdout] 409 |             self.write_float(mag / max_magnitude, magnitude_bits);
[INFO] [stdout]     |                  ^^^^^^^^^^^ help: there is a method with a similar name: `write_flag`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `write_signed_float` found for mutable reference `&mut BitStream` in the current scope
[INFO] [stdout]    --> src/bitstream.rs:454:18
[INFO] [stdout]     |
[INFO] [stdout] 454 |             self.write_signed_float(cur_value, bit_count);
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^ help: there is a method with a similar name: `write_int`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `write_signed_float` found for mutable reference `&mut BitStream` in the current scope
[INFO] [stdout]    --> src/bitstream.rs:454:18
[INFO] [stdout]     |
[INFO] [stdout] 454 |             self.write_signed_float(cur_value, bit_count);
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^ help: there is a method with a similar name: `write_int`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> src/main.rs:49:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | /     loop {
[INFO] [stdout] 17 | |         let mut connection = GameConnection::connect("0.0.0.0:30000", "127.0.0.1:28000", 1).await?;
[INFO] [stdout] 18 | |
[INFO] [stdout] 19 | |         loop {
[INFO] [stdout] ...  |
[INFO] [stdout] 46 | |         }
[INFO] [stdout] 47 | |     }
[INFO] [stdout]    | |_____- any code following this expression is unreachable
[INFO] [stdout] 48 |
[INFO] [stdout] 49 |       Ok(())
[INFO] [stdout]    |       ^^^^^^ unreachable expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 17 previous errors; 13 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `dnet-rs` (bin "dnet-rs") due to 18 previous errors; 13 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> src/main.rs:49:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | /     loop {
[INFO] [stdout] 17 | |         let mut connection = GameConnection::connect("0.0.0.0:30000", "127.0.0.1:28000", 1).await?;
[INFO] [stdout] 18 | |
[INFO] [stdout] 19 | |         loop {
[INFO] [stdout] ...  |
[INFO] [stdout] 46 | |         }
[INFO] [stdout] 47 | |     }
[INFO] [stdout]    | |_____- any code following this expression is unreachable
[INFO] [stdout] 48 |
[INFO] [stdout] 49 |       Ok(())
[INFO] [stdout]    |       ^^^^^^ unreachable expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 17 previous errors; 13 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `dnet-rs` (bin "dnet-rs" test) due to 18 previous errors; 13 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "02c0e4d279c0f5a68bc86acbc21e6c72bab088695132fde6ff54d297cba40bd0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "02c0e4d279c0f5a68bc86acbc21e6c72bab088695132fde6ff54d297cba40bd0", kill_on_drop: false }`
[INFO] [stdout] 02c0e4d279c0f5a68bc86acbc21e6c72bab088695132fde6ff54d297cba40bd0
